curl --location --request Get 'www.themealdb.com/api/json/v1/1/latest.php'
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("www.themealdb.com/api/json/v1/1/latest.php", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
{"meals":{"idMeal":"1","strMeal":"Only For Patreon supporters sorry","strDescription":"Sign up here: https:\/\/www.patreon.com\/thedatadb"}}
Paid endpoints
Latest Meals
This list the latest meals.Only available to Paypal supporters
GET
/
api
/
json
/
v1
/
1
/
latest.php
curl --location --request Get 'www.themealdb.com/api/json/v1/1/latest.php'
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("www.themealdb.com/api/json/v1/1/latest.php", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
{"meals":{"idMeal":"1","strMeal":"Only For Patreon supporters sorry","strDescription":"Sign up here: https:\/\/www.patreon.com\/thedatadb"}}
Body
curl --location --request Get 'www.themealdb.com/api/json/v1/1/latest.php'
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("www.themealdb.com/api/json/v1/1/latest.php", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
{"meals":{"idMeal":"1","strMeal":"Only For Patreon supporters sorry","strDescription":"Sign up here: https:\/\/www.patreon.com\/thedatadb"}}
⌘I